﻿using System;
using System.ComponentModel;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.Core;

namespace Yuanlin.Business
{
    public class PinyinSearchTechControl : YuanlinUserControl
    {
        protected Repeater list;
        public int categoryType = UrlManager.Instance.GetParameterValue<int>(YuanlinParameterName.CategoryType);
        
        protected override void OnLoad(EventArgs e)
        {
            BindData();
        }

        private void BindData()
        {
            ArrayList items = new ArrayList();

            items.AddRange(new string[] { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" });

            this.list.DataSource = items;
            this.list.DataBind();
        }
    }
}
